/**
 * 默认静态数据
 * @type {{}}
 */

export const defData = {
	//常规柱状图
	"generalBar":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
			}
		]
	},
	//横向柱状图
	"horizontalBar":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
			}
		]
	},
	//堆积柱状图
	"stackedBar":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "A销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
			},
			{
				"name": "B销售额",
				"stack": "Ad",
				"data": [220, 100, 140, 180, 270, 150, 170],
			},
			{
				"name": "C销售额",
				"stack": "Ad",
				"data": [130, 155, 89, 170, 150, 99, 50],
			}
		]
	},
	//折线图
	"lineChart":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
			},
		]
	},
	//面积图
	"areaChart":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
			},
		]
	},
	//堆积面积图
	"stackedArea":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "A销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
				"stack": "Total",
			},
			{
				"name": "B销售额",
				"stack": "Total",
				"data": [220, 100, 140, 180, 270, 150, 170],
			},
			{
				"name": "C销售额",
				"stack": "Total",
				"data": [130, 155, 89, 170, 150, 99, 50],
			}
		]
	},
	//饼图
	"pieChart":[
		{ "value": 1048, "name": "Mon" },
		{ "value": 735, "name": "Tue" },
		{ "value": 580, "name": "Wed" },
		{ "value": 484, "name": "Thu" },
		{ "value": 300, "name": "Fri" },
		{ "value": 270, "name": "Sat" },
		{ "value": 660, "name": "Sun" }
	],
	//环形图
	"ringChart":[
		{ "value": 1048, "name": "Mon" },
		{ "value": 735, "name": "Tue" },
		{ "value": 580, "name": "Wed" },
		{ "value": 484, "name": "Thu" },
		{ "value": 300, "name": "Fri" },
		{ "value": 270, "name": "Sat" },
		{ "value": 660, "name": "Sun" }
	],
	//漏斗图
	"funnelChart":[
		{ "value": 1048, "name": "Mon" },
		{ "value": 735, "name": "Tue" },
		{ "value": 580, "name": "Wed" },
		{ "value": 484, "name": "Thu" },
		{ "value": 300, "name": "Fri" },
		{ "value": 270, "name": "Sat" },
		{ "value": 660, "name": "Sun" }
	],
	//单色仪表盘
	"gaugeChart":[
		{ "value": 90, "name": "SCORE" }
	],
	//多色仪表盘
	"multiColorGauge":[
		{ "value": 90, "name": "SCORE" }
	],
	//雷达图
	"radar":{
		"indicator": [
			{ "name": 'Sales', "max": 6500 },
			{ "name": 'Administration', "max": 16000 },
			{ "name": 'Information Technology', "max": 30000 },
			{ "name": 'Customer Support', "max": 38000 },
			{ "name": 'Development', "max": 52000 },
			{ "name": 'Marketing', "max": 25000 }
		],
		"series": [
			{
				"value": [4200, 3000, 20000, 35000, 50000, 18000],
				"name": 'Allocated Budget'
			},
			{
				"value": [5000, 14000, 28000, 26000, 42000, 21000],
				"name": 'Actual Spending'
			}
		]
	},
	//线柱混搭
	"lineBar":{
		"categories": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
		"series": [
			{
				"name": "A销售额",
				"data": [120, 200, 150, 80, 70, 110, 130],
				"type": 'bar',
			},
			{
				"name": "B销售额",
				"data": [220, 100, 140, 180, 270, 150, 170],
				"type": 'line',
				"yAxisIndex": 1,
			},
		]
	},
	//表格
	"table":{
        columns:[
            { "title": "销售额","key":"salesVolume","rowSpan":false},
            { "title": "成本","key":"cost","rowSpan":false},
            { "title": "利润","key":"profit","rowSpan":false},
        ],
		data:[
			{ "salesVolume": 19860,"cost": 9348,"profit":10519 },
			{ "salesVolume": 133852,"cost": 58920,"profit":74932 },
			{ "salesVolume": 40860,"cost": 20080,"profit":20780 },
			{ "salesVolume": 87576,"cost": 40710,"profit":46866 },
			{ "salesVolume": 104776,"cost": 49320,"profit":55456 }
		]
	},
	//表格
	"numerical":{
		columns:[
			{ "title": "销售额","key":"salesVolume"},
			{ "title": "成本","key":"cost"},
			{ "title": "利润","key":"profit"},
		],
		data:[
			{ "salesVolume": 19860,"cost": 9348,"profit":10519 },
			{ "salesVolume": 133852,"cost": 58920,"profit":74932 }
		]
	},
	//地图
	"map":[
		{
			name: '广东省',
			areaColor: '#ee610f',
			values:[
				{"name": "广州市", "value": 200},
				{"name": "深圳市", "value": 500},
				{"name": "东莞市", "value": 100}
			]
		},
		{
			name: '湖北省',
			areaColor: '#0dc07e',
			values:[
				{"name": "湖北省", "value": 1000}
			]
		}
	]
}
